package com.aviator.detective.execute.execute;

import com.aviator.detective.model.rule.Rule;

import java.util.HashMap;
import java.util.Map;

public class ExecuteResultContext {
    private String processInstanceId;
    private String processId;
    private Rule rule;
    private Map<String,Object> paramContext = new HashMap<>();
    private Boolean execResult;
    private String errCode;
    private String errMessage;
    private Map<String,Object> variableExecuteResults = new HashMap<>();

    public Map<String, Object> getVariableExecuteResults() {
        return variableExecuteResults;
    }

    public void setVariableExecuteResults(Map<String, Object> variableExecuteResults) {
        this.variableExecuteResults = variableExecuteResults;
    }

    public Boolean getExecResult() {
        return execResult;
    }

    public void setExecResult(Boolean execResult) {
        this.execResult = execResult;
    }

    public String getErrCode() {
        return errCode;
    }

    public void setErrCode(String errCode) {
        this.errCode = errCode;
    }

    public String getErrMessage() {
        return errMessage;
    }

    public void setErrMessage(String errMessage) {
        this.errMessage = errMessage;
    }

    public String getProcessInstanceId() {
        return processInstanceId;
    }

    public void setProcessInstanceId(String processInstanceId) {
        this.processInstanceId = processInstanceId;
    }

    public String getProcessId() {
        return processId;
    }

    public void setProcessId(String processId) {
        this.processId = processId;
    }

    public Rule getRule() {
        return rule;
    }

    public void setRule(Rule rule) {
        this.rule = rule;
    }

    public Map<String, Object> getParamContext() {
        return paramContext;
    }

    public void setParamContext(Map<String, Object> paramContext) {
        this.paramContext = paramContext;
    }

}
